﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    Codebehind="NetApplyDetail.aspx.cs" Inherits="Ankin.EHBH.Web.Modules.Apply.NetApplyDetail"
    Title="医用耗材管理系统" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphcenter" runat="server">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td class="right-color">
                    网上请领—请领单信息</td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0" class="t1">
                        <tbody>
                            <tr>
                                <td colspan="8" class="bor bor-bg">
                                    请领信息</td>
                            </tr>
                            <tr>
                                <td style="height: 21px; width: 90px;">
                                    申请单号</td>
                                <td style="width: 102px; height: 21px">
                                    <asp:Label ID="lblBILL_ID" runat="server"></asp:Label></td>
                                <td style="width: 107px; height: 21px">
                                    申请日期</td>
                                <td style="width: 104px; height: 21px">
                                    <asp:Label ID="lblCreate_date" runat="server"></asp:Label></td>
                                <td style="height: 21px">
                                    申请类型</td>
                                <td colspan="3" style="height: 21px">
                                    <asp:Label ID="lblApply_Type_Name" runat="server"></asp:Label></td>
                            </tr>
                            <tr>
                                <td style="width: 90px; height: 19px">
                                    申请部门
                                </td>
                                <td style="width: 102px; height: 19px">
                                    <asp:Label ID="lblDept" runat="server"></asp:Label></td>
                                <td style="width: 107px; height: 19px">
                                    申请人</td>
                                <td style="width: 104px; height: 19px">
                                    <asp:Label ID="lblApplier" runat="server"></asp:Label></td>
                                <td style="height: 19px">
                                </td>
                                <td colspan="3" style="height: 19px">
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 19px; width: 90px;">
                                    申请状态</td>
                                <td style="width: 102px; height: 19px">
                                    <asp:Label ID="lblStatus" runat="server"></asp:Label></td>
                                <td style="width: 107px; height: 19px">
                                    <asp:Label ID="lblOutBillIdTxt" runat="server">出库单</asp:Label></td>
                                <td style="width: 104px; height: 19px">
                                    <asp:Label ID="lblOutBillId" runat="server"></asp:Label></td>
                                <td style="height: 19px">
                                    </td>
                                <td colspan="3" style="height: 19px">
                                    </td>
                            </tr>
                            <tr>
                                <td style="width: 90px; height: 19px">
                                    备注</td>
                                <td colspan="2" style="height: 19px">
                                    <asp:TextBox ID="lblMemo" runat="server" Height="100px" ReadOnly="true" TextMode="MultiLine"
                                        Width="98%"></asp:TextBox></td>
                                <td style="width: 104px; height: 19px">
                                    审核批注</td>
                                <td style="height: 19px" colspan="4">
                                    <asp:TextBox ID="txtAppMemo" runat="server" Height="100px" ReadOnly="true" TextMode="MultiLine"
                                        Width="98%"></asp:TextBox></td>
                            </tr>
                            <tr>
                                <td style="width: 90px; height: 19px">
                                </td>
                                <td colspan="7" style="height: 19px">
                                    &nbsp;</td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 4px">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                </td>
            </tr>
            <tr>
                <td>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0" style="margin-top: 14px;">
                        <tbody>
                            <tr>
                                <td class="bor bor-bg">
                                    请领单明细</td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:GridView ID="grvApplyDetail" runat="server" AutoGenerateColumns="False" DataKeyNames="INFO_ID"
                                        Width="100%" OnRowDataBound="grvApplyDetail_RowDataBound">
                                        <Columns>
                                            <asp:BoundField HeaderText="流水号" DataField="BOOK_ID" />
                                            <asp:BoundField HeaderText="产品代码" DataField="info_id" />
                                            <asp:BoundField HeaderText="产品名称" DataField="EXP_NAME" />
                                            <asp:BoundField HeaderText="规格型号" DataField="SPECS" />
                                            <asp:BoundField HeaderText="单位" DataField="UNITS" />
                                            <asp:BoundField HeaderText="报价" DataField="RETAIL_PRIC" />
                                            <asp:BoundField HeaderText="申请数" DataField="Quantity"  />
                                            <asp:BoundField HeaderText="申请金额" Visible="False" />
                                            <asp:BoundField HeaderText="审核数" DataField="APPROVE_QTY" />
                                            <asp:BoundField HeaderText="实发数" Visible="False" />
                                            <asp:BoundField HeaderText="实发金额" Visible="False" />
                                            <asp:BoundField HeaderText="审核结果" DataField="stat" />
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                            <tr>
                                <td style="height: 19px" align="right">
                                    <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Blue" Text="申请总金额:"></asp:Label>
                                    <asp:Label ID="lblAQT" runat="server" Font-Bold="True" ForeColor="Blue" Text="0"></asp:Label>
                                    <asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="Red" Text="实发总金额:"></asp:Label>
                                    <asp:Label ID="lblRQT" runat="server" Font-Bold="True" ForeColor="Red" Text="0"></asp:Label></td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="btn" runat="server" Text="导出单据"
                        CssClass="button" Width="57px" Height="25" OnClick="btn_Click"></asp:Button>
                    <asp:Button ID="btnCancelApply" runat="server" CssClass="button" Height="25" OnClick="btnCancelApply_Click"
                        Text="取消申请" Visible="False" Width="57" />
                    &nbsp;&nbsp;<asp:Button ID="btnPrint" runat="server" CssClass="button" Height="25" OnClick="btnPrint_Click"
                        Text="打印" Width="57" />
                    &nbsp; &nbsp;&nbsp;
                    <asp:Button ID="btnModify" runat="server" Text="修改申请" OnClick="btnModify_Click" CssClass="button"
                        Width="57" Height="25" Visible="False"></asp:Button>
                    &nbsp;&nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnRetry" runat="server" Text="重新申请" OnClick="btnRetry_Click" CssClass="button"
                        Width="57" Height="25" Visible="False"></asp:Button>
                    &nbsp;&nbsp; &nbsp; &nbsp;<asp:Button ID="btnCancel" runat="server" Text="返回" OnClick="btnCancel_Click"
                        CssClass="button" Width="57" Height="25"></asp:Button>
                    &nbsp; &nbsp;&nbsp;<br />
                    <input id="hidAction" type="hidden" />
                    &nbsp;&nbsp;
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>
